const Transform = require('stream').Transform;
const util = require('util');

const MyTransform = module.exports = function(options) {
    if (!(this instanceof MyTransform))
        return new MyTransform(options);
    Transform.call(this, options);
};

util.inherits(MyTransform, Transform);

MyTransform.prototype._transform = function(data, encoding, callback) {
    this.push(data);
    callback();
};